<script>
 function Switch() {
   return whatever;
 }
</script>
